﻿<%@ Page Language="C#" Inherits="BPM.Web.ViewPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title>NotAuthoticated</title>
	<style type="text/css">
		.warning
		{
			color: Red;
			text-align: center;
		}
	</style>
</head>
<body>
	<div class="warning">
		<%=this.ViewData["Message"]%>
	</div>
	<div>
		<%
			using (Html.BeginForm())
			{
		%>
		输入注册码：<input type="text" name="txtCode" />
		<input type="submit" value="提交" />
		<%
			}
		%>
		<%
			var redirect = this.ViewData["Redirect"];
			if (redirect != null)
			{
				var ad = AD.Singleton.Logon;
		%>
		<%= Html.ActionLink("返回首页", ad.Logon, ad.ToString())%>
		<%
}
		%>
	</div>
</body>
</html>
